package org.gavin.core.annotation;

import java.lang.annotation.*;

/**
 *  web Safety
 * 请求解密仅适用于 Body 传参
 * Content-Type:application/json的方式
 * @author grl
 * @date 2023/12/28
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Safety {

    boolean decode() default true;

    boolean encode() default true;
}
